home *** CD-ROM | disk | FTP | other *** search
- Path: news.cs.ucla.edu!twinsun!usenet
- From: Mike Klein <mklein@alumni.caltech.edu>
- Newsgroups: comp.lang.smalltalk,comp.lang.java,comp.lang.c++
- Subject: Re: Smalltalk slower than C++
- Date: Thu, 18 Apr 1996 20:12:11 -0700
- Organization: Codehenge
- Message-ID: <3177048B.2CBD@alumni.caltech.edu>
- References: <4kuavb$1dbc@watnews1.watson.ibm.com> <3174DD97.6BE1D26@bnr.ca>
- NNTP-Posting-Host: 192.54.239.42
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (X11; I; SunOS 5.5 sun4u)
-
- > > It is considered "common knowledge" that smalltalk is slower than C++.
- > > Are there any published articles on this subject?
- > > How much slower is slower, twice as slow, 5 times, 10 times... ?
- > > Appreciate any pointers on this subject.
- > >
- > I can say it is an over statement that smalltalk is slower than
- > C/C++. I have implementation that is a few times faster than
- > C. I can also illustrate that the smalltalk environment can be
- > ten and even 100 times faster than smalltalk.
-
- Here's a simple sample task:
- Open a scrolling list interface on integers from one to ten million.
-
- Smalltalk results:
-
- Coding time: 20 sec. (Yes I actually timed it).
- Execution time: 64 millisecons (Sun Ultra-1, VW2.5)
- Source code:
-
- SequenceView openOn: (1 to: 10000000).
-
- I look forward to hearing *any* results from the Java/C++ world.
-
- -- Mike Klein
- mklein@alumni.caltech.edu
-